add_llvm_library(YTSimpleCodeCheckTool MODULE 
	YTSimpleCodeCheckTool.cpp
	PLUGIN_TOOL
	clang
)

if(LLVM_ENABLE_PLUGINS AND (WIN32 OR CYGWIN))
  target_link_libraries(YTSimpleCodeCheckTool PRIVATE
    clangAST
    clangBasic
    clangFrontend
    LLVMSupport
    )
endif()
